package com.example.flowabledemo.data.mapper;

import com.example.flowabledemo.data.entity.AaUser;
import com.example.flowabledemo.data.vo.UserInfoVo;
import org.apache.ibatis.annotations.Param;

/**
 * @author linke
 * @date 2020/11/28 21:08
 * @description
 */
public interface AaUserMapper {

  int deleteByPrimaryKey(Integer id);

  int insertSelective(AaUser record);

  AaUser selectByPrimaryKey(Integer id);

  int updateByPrimaryKeySelective(AaUser record);

  AaUser getUser(String username);

  UserInfoVo getUserInfoVo(@Param("username") String username);
}